package org.hairball.cli;

public class Option<T> {
    private String argName;
    private String description;
    private String defaultValue;

    public Option(String argName, String description) {
        this.argName = argName;
        this.description = description;
        this.defaultValue = null;
    }

    public Option(String argName, String description, String defaultValue) {
        this(argName, description);
        this.defaultValue = defaultValue;
    }


    public String getArgName() {
        return argName;
    }

    public String getDescription() {
        return description;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public boolean hasDefault() {
        return defaultValue != null;
    }
}
